#ifndef COMMAND_H
#define COMMAND_H

#include <QString>
#include <QVariant>

class Command
{
public:
	enum CommandType {
		Message,
		
		RttmOpenConnection,
		CommandsOpenConnection,
		RttmDataArrival,
		CommandsDataArrival
	};
	
	union CommandData {
		int socketHandle;
	};
	
public:
	CommandType type;
	QString msg;
	CommandData data;

	
public:
    Command();
	
};

#endif // COMMAND_H
